package teaching.mapper;

import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;
import teaching.pojo.Tag;

import java.util.List;

/**
 * Author:20201002983_郑雨蓓
 * Date: 2024/3/13
 * Description:
 */
@Mapper
public interface TagMapper {
    @Select("select * from tag")
    List<Tag> getTag();

    @Select("select * from id=#{id}")
    Tag TagById(Long id);
}
